package com.unidust.service.dto.vo.common;

import com.unidust.service.dto.vo.Dog;

import java.util.Collection;
import java.util.List;

/**
 * 分页数据
 * Created by admin on 2017/8/21.
 */
public class Page<T>{

    /**开始页*/
    private int pageIdx;

    /**页面大小*/
    private int pageSize;

    /**总页数*/
    private int pageCnt;

    private T t;

    /**分页详细数据*/
    private List<T> data;

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public int getPageIdx() {
        return pageIdx;
    }

    public void setPageIdx(int pageIdx) {
        this.pageIdx = pageIdx;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageCnt() {
        return pageCnt;
    }

    public void setPageCnt(int pageCnt) {
        this.pageCnt = pageCnt;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
